Spread Windows Forms 15.0
FarPoint.Win.Spread.Design Assembly / FarPoint.Win.Spread.Design Namespace / Item Class / Item Constructor / Item Constructor(Int32,Image,Image,Image,String,List<SubItem>,String,Boolean,String)
The id.
The img.
The img hover.
The img disable.
The text.
The sub items.
The sub title.
if set to true [has sep].
The alt key.


In This Topic
    Item Constructor(Int32,Image,Image,Image,String,List<SubItem>,String,Boolean,String)
    In This Topic
    Initializes a new instance of the Item class.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal id As Integer, _
       ByVal img As Image, _
       ByVal imgHover As Image, _
       ByVal imgDisable As Image, _
       ByVal text As String, _
       ByVal subItems As List(Of SubItem), _
       ByVal subTitle As String, _
       ByVal hasSep As Boolean, _
       ByVal altKey As String _
    )
    'Usage
     
    
    Dim id As Integer
    Dim img As Image
    Dim imgHover As Image
    Dim imgDisable As Image
    Dim text As String
    Dim subItems As List(Of SubItem)
    Dim subTitle As String
    Dim hasSep As Boolean
    Dim altKey As String
     
    Dim instance As New Item(id, img, imgHover, imgDisable, text, subItems, subTitle, hasSep, altKey)

    Parameters

    id
    The id.
    img
    The img.
    imgHover
    The img hover.
    imgDisable
    The img disable.
    text
    The text.
    subItems
    The sub items.
    subTitle
    The sub title.
    hasSep
    if set to true [has sep].
    altKey
    The alt key.
    See Also